package com.codi.bus.core.dao.impl;

import com.codi.base.dao.v2.GeneratedBaseDaoImpl;
import com.codi.bus.core.dao.FundAssetsDao;
import com.codi.bus.core.dao.FundOptionalDao;
import com.codi.bus.core.domain.FundAssets;
import com.codi.bus.core.domain.FundOptional;
import com.codi.bus.core.domain.UserAssets;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by asus on 2017/12/6.
 */
@Repository("fundAssetsDao")
public class FundAssetsDaoImpl extends GeneratedBaseDaoImpl<FundAssets> implements FundAssetsDao {
    @Override
    public Long insertByCode( FundAssets fundAssets) {
        super.insert(this.generateStatement("insert"), fundAssets);
        return fundAssets.getFaFundAssetsId();
    }

}
